export const TYPE = 2
export const leftSearchConfig = [
  {
    type: 'select',
    value: '',
    options: [
      {
        value: '0',
        label: '系统通知'
      },
      {
        value: '1',
        label: '实习招聘'
      },
      {
        value: '2',
        label: '实践项目'
      }
    ],
    label: '',
    keyIndex: 'pushModule',
    placeholder: '请选择分类',
    span: 4,
    inputWidth: '100%'
  },
  {
    type: 'input',
    value: '',
    label: '',
    keyIndex: 'pushName',
    placeholder: '请输入推送名称',
    span: 4,
    visible: true,
    inputWidth: '100%'
  },
  {
    type: 'select',
    value: '',
    options: [
      {
        value: '0',
        label: '立即推送'
      },
      {
        value: '1',
        label: '定时推送-单次'
      },
      {
        value: '2',
        label: '定时推送-重复'
      }
    ],
    label: '',
    keyIndex: 'type',
    placeholder: '请选择推送方式',
    span: 4,
    inputWidth: '100%'
  },
  {
    type: 'select',
    value: '',
    options: [
      {
        value: '1',
        label: '启用'
      },
      {
        value: '2',
        label: '停用'
      }
    ],
    label: '',
    keyIndex: 'status',
    placeholder: '请选择状态',
    span: 4,
    inputWidth: '100%'
  }
]

export const middleSearchConfig = [
  {
    type: 'input',
    value: '',
    label: '',
    keyIndex: 'title',
    placeholder: '请输入分类名称',
    span: 8,
    visible: true
  }
]


export const resultClassifiyConfig = {
  colums: [
    {
      props: 'name',
      label: '分类名称'
    },
    {
      props: 'childNum',
      label: '数量',
      sortable: true
    },
    {
      props: 'releaseTimeStr',
      label: '上架时间',
      sortable: true
    },
    {
      props: 'updateTimeStr',
      label: '最近更新时间',
      sortable: true
    },
    {
      props: 'creator',
      label: '创建人'
    }
  ]
}

export const chooseStudentTableColumn = {
  colums: [
    {
      props: 'studentName',
      label: '学生名称'
    },
    {
      props: 'mobile',
      label: '手机号码'
    }
  ],
  showSelection: true
}
